package com.kgc.springboot.hangduo.service;

import com.github.pagehelper.PageInfo;
import com.kgc.springboot.hangduo.pojo.Catalog;

import java.util.List;

/**
 * @author: ASUS
 * @date: 2020/12/27 14:31
 * @description:
 */
public interface CatalogService {

    PageInfo<Catalog> selectAll(Integer lid);

    List<Catalog> selectByLawId(Integer lid);

    public List<Catalog> searchAll();

    int addCatalog(Catalog catalog);

    int delCatalog(int id);

    Catalog selectById(Integer id);

    int updateCatalogById(Catalog catalog);
}
